import 'package:dio/dio.dart';

/// A class that handles exceptions thrown by Dio.
abstract class ExceptionHandler {
  /// Handles the given [exception] and returns an appropriate error message.
  String handleException(DioException exception);
}
